
package com.erp.fin.dao;

import com.erp.fin.domain.PaymentDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 付款管理
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-08-27 14:10:10
 */
@Mapper
public interface PaymentDao {

	PaymentDO get(Long id);
	
	List<PaymentDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(PaymentDO payment);
	
	int update(PaymentDO payment);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int reviewyes(Long id);

	int reviewno(Long id);

	int payment(PaymentDO payment);

    int confirmfirst(Long id);

	int seccondyes(Long id);

	int seccondno(Long id);

    List<PaymentDO> getPaymentByPur(Long putId);
}
